package com.carl.zlds.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author carl
 */
@Data
public class SaveGameTagDTO {
    @NotBlank(message = "名称不能为空")
    private String name;

    @NotNull(message = "游戏不能为空")
    @Min(value = 1)
    private Long gameId;

    private Integer sort;
}
